package com.usian.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;

public interface AdChannelService/* extends IService<AdChannel>*/ {

    /**
     * 根据名称分页查询频道列表
     * @param dto
     * @return
     */
   ResponseResult findByNameAndPage(ChannelDto dto);

    ResponseResult insert(AdChannel channel);

    public ResponseResult update(AdChannel adChannel);

    ResponseResult deleteById(Integer id);
}